Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

component(Label): initialization #16

Merged
merged 1 commit into from
Oct 18, 2019

Conversation

Stradivario
Copy link
Member

@Stradivario Stradivario commented Oct 18, 2019

Issue

Description

Introduces web component rx-label based on https://getuikit.com/docs/label

Checklist:

  • Create rx-label component
  • Create slot for label provided from outside component
  • Create palettes capabilities for label
  • Create example label view component to show all available labels

Screenshots (optional)

Screenshot from 2019-10-18 16-46-26

Label Component

Usage
import { LabelComponent } from '@rxdi/ui-kit/label';

@Module({
  components: [
    LabelComponent
  ],
})
export class AppModule {}
<rx-label>Default</rx-label>
<rx-label palette="primary">Primary</rx-label>
<rx-label palette="secondary">Secondary</rx-label>
<rx-label palette="warning">Warning</rx-label>
<rx-label palette="danger">Danger</rx-label>

@Stradivario Stradivario force-pushed the 15-label-component-initialization branch from 85170c3 to 6e0fb10 Compare October 18, 2019 13:47
@Stradivario Stradivario merged commit b285fe6 into master Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant